//
//  VCBigCollectionViewCell.m
//  NBTripe
//
//  Created by 陈曦 on 16/1/9.
//  Copyright © 2016年 Vicki. All rights reserved.
//

#import "VCBigCollectionViewCell.h"

@interface VCBigCollectionViewCell ()
@property (strong, nonatomic) IBOutlet UIImageView *photo;
@property (strong, nonatomic) IBOutlet UILabel *name;

@end

@implementation VCBigCollectionViewCell

-(void)setDataModel:(VCsearchElementModel *)dataModel {
    if (_dataModel != dataModel) {
        _dataModel = dataModel;
    }
   
    [self.photo sd_setImageWithURL:[NSURL URLWithString:self.dataModel.cover_s] placeholderImage:[UIImage imageNamed:@"160.jpg"]];
    self.name.text = self.dataModel.name_orig;
    
}

@end
